﻿<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>生活服务</title>
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="生活服务" />
    <meta name="msapplication-TileColor" content="">

    <link rel="stylesheet" href="css/css_style.css">
    <script src="../../script/zepto.min.js"></script>
    <script src="../../script/api.js"></script>
</head>
<body>
    <div class="header" id="header">
        <a class="new-a-back" href="index.html"><span></span></a>
        <h2>生活服务</h2>
    </div>
    <div class="goods_box">
        <div class="goods_item">
            <!-- <div class="goods_title"><a href="#">更多 ></a>分类导航</div> -->
            <div class="goods_title"><a href="#"></a>分类导航</div>
            <div class="category_nav">
                <ul class="category_list clearfix">
                    <!-- <li><a href="#"><img src="/wxapp/life/images//s1.jpg" /><span>家政保姆</span></a></li> -->

                     <li><a  ><img src="images/s5.jpg" /><span>家电维修</span></a></li>
                    <li><a onclick="reOpen()"><img src="images/s6.jpg" /><span>话费充值</span></a></li>
                    <!-- <li><a href="#"><img src="/wxapp/life/images//s2.jpg" /><span>文化教育</span></a></li> -->
                    <!-- <li><a href="#"><img src="/wxapp/life/images//s3.jpg" /><span>医疗服务</span></a></li> -->
                    <li><a href="#"><img src="images/s4.jpg" /><span>旅游签证</span></a></li>
                    <!-- 需要登陆送水的地址为sendwater.html -->
                    <li><a ><img src="images/s7.jpg" /><span>送水服务</span></a></li>
                </ul>
            </div>
        </div>
        <div class="goods_item">
            <div class="goods_title">精选内容</div>
            <div class="featured_box">
                <ul class="featured_list">
                    <li>
                        <a>
                            <img src="images/fc1.jpg" />
                            <i class="enter_icon" title="进入"></i>
                            <p>【家政保姆】一次性清洁（3小时起）</p>
                        </a>
                    </li>
                   <!--  <li>
                        <a href="#">
                            <img src="/wxapp/life/images//fc2.jpg" />
                            <i class="enter_icon" title="进入"></i>
                            <p>【文化教育】</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <img src="/wxapp/life/images//fc3.jpg" />
                            <i class="enter_icon" title="进入"></i>
                            <p>【医疗服务】</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <img src="/wxapp/life/images//fc4.jpg" />
                            <i class="enter_icon" title="进入"></i>
                            <p>【旅游签证】</p>
                        </a>
                    </li> -->
                    <li>
                        <a >
                            <img src="images/fc5.jpg" />
                            <i class="enter_icon" title="进入"></i>
                            <p>【家电维修】</p>
                        </a>
                    </li>
                    <li>
                        <a onclick="mOpenWin('话费充值','recharge.html')">
                            <img src="images/fc6.jpg" />
                            <i class="enter_icon" title="进入"></i>
                            <p>【话费充值】</p>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function reOpen() {
            $api.getUserInf(function(user) {
                if (!user) {
                    $api.mOpenWin('login', '../login.html');
                    return;
                }else{
                     $api.mOpenWin('话费充值','recharge.html');
                }

            })
           
        }

        function mOpenWin(winname, winurl, params) {


            var openParam = {
                name: winname,
                url: winurl,
                bounces: false,
            }
            if (params) {
                // openParam.pageParam:params;
            }
            api.openWin(openParam);
        }
    </script>
</body>
</html>